/**
 * 
 */
package com.sdeonline.bible.creencias;

import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.view.ViewPager;

/**
 * @author daniel
 *
 */
public class BeliefDescription extends Activity {

    protected Context mCxt;
    private ViewPager mBeliefsPager;
    private BeliefsPagerAdapter mPagerAdapter;
    
    
    /** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {

	    super.onCreate(savedInstanceState);
	    setContentView(R.layout.belief_details_scroller);
	    mCxt = this.getApplicationContext();
	    
	    mPagerAdapter = new BeliefsPagerAdapter(mCxt);
	    mBeliefsPager = (ViewPager) findViewById(R.id.beliefs_pager);
	    mBeliefsPager.setAdapter(mPagerAdapter);
	    mBeliefsPager.setCurrentItem(getIntent().getExtras().getInt("id"));
	}
	
}
